<?php
include '../function.php';
$shop = new Shop();

if(isset($_POST['request'])){
	if($_POST['request'] == 1){
		if($shop->updateCartNum($_POST['id'],$_POST['num'])){echo "true";exit();}
		echo 'false';
	}
}
?>